﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AnQinFrameWorkAPI.Entity.Blog.Entity;

/// <summary>
///     发展历程模型
/// </summary>
[Table("BlogDevelopHistory")]
public class BlogDevelopHistoryModel
{
    /// <summary>
    ///     发展历程id
    /// </summary>
    [Key]
    [MaxLength(36)]
    public Guid Id { get; set; }

    /// <summary>
    ///     发展历程编码
    /// </summary>
    [MaxLength(50)]
    public string Code { get; set; }

    /// <summary>
    ///     发展历程名称
    /// </summary>
    [MaxLength(50)]
    public string Name { get; set; }

    /// <summary>
    ///     发展历程标题
    /// </summary>
    [MaxLength(50)]
    public string Title { get; set; }

    /// <summary>
    ///     发展历程介绍
    /// </summary>
    [MaxLength(200)]
    public string Introduce { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}